import QtQuick 2.15
import QtQuick.Controls 2.15
import QtGraphicalEffects 1.15
import App.Global 1.0
import "../Title"
import "../Global"

Rectangle{
    //搜索框(返回25|间隔10|文本框300|间隔10|语音25)
    Search{
        id:searchRow
        width: 380
        height: 50
        anchors.verticalCenter: minMaxRow.verticalCenter
        anchors.left: parent.left
        anchors.leftMargin: 36
        DebugBorder{}
    }

    //圆形头像，登录文本,VIP区域(头像25|间隔15|文本30|间隔15|会员50|(间隔15|图标35)*5)
    UserCommonSetting{
        id:othersRow
        width:340   //385
        height:50
        anchors.right: dividingRect.left
        anchors.rightMargin: 10
        anchors.verticalCenter: minMaxRow.verticalCenter
        DebugBorder{}
    }

    //分割线(2)
    Rectangle{
        id:dividingRect
        width: 2
        height:50
        anchors.right: minMaxRow.left
        anchors.rightMargin: 10
        anchors.verticalCenter: minMaxRow.verticalCenter
        color: GlobalState.uiDefaultColor
    }

    //最小化，mini化，最大化，关闭((图标25|间隔20)*3|图标25)
    MinAndMax{
        id:minMaxRow
        width: 160
        height: 50
        anchors.top:parent.top
        anchors.topMargin: 30
        anchors.right:parent.right
        anchors.rightMargin: 40
        DebugBorder{}
    }
}
